namespace CSharpPro._1030;

public class Father
{
    private int id;

    public int Id
    {
        get => id;
        set => id = value;
    }

    public Father()
    {
        Console.WriteLine("Father--------Constructor");
    }

    public Father(int id)
    {
        this.id = id;
    }

    public virtual void Print()
    {
        Console.WriteLine("Father-------Print");
    }
    //public abstract void M1();
    
}